/****************************************
*  This file created using "Writer B"   *
*      a program written by CTonk       *
*          ctonk87@hotmail.com          *
*     [timestamp 03/04/06  15:34:42]    *
****************************************/

// Object.h

#ifndef H_OBJECT
#define H_OBJECT


class Object
{
	private:
		int		_vnum;
		int		_type;
		int		_level;
		int		_value;
		int		_weight;
		char*	_name; // Array set with length 30
		char*	_keyword; // Array set with length 10
		char*	_short; // Array set with length 76
		char*	_long; // Array set with length 76

	public:
		// Constructors...
		Object();
		Object( Object& );
		~Object();

		// Operators...
		Object& operator = ( Object& );

		// Public accessor methods...
		int		GetVnum();
		void	SetVnum( int );
		int		GetType();
		void	SetType( int );
		int		GetLevel();
		void	SetLevel( int );
		int		GetValue();
		void	SetValue( int );
		int		GetWeight();
		void	SetWeight( int );
		char*	GetName( void );
		char	GetName( int );
		void	SetName( char* );
		void	SetName( const char* );
		void	SetName( int, char );
		char*	GetKeyword( void );
		char	GetKeyword( int );
		void	SetKeyword( char* );
		void	SetKeyword( const char* );
		void	SetKeyword( int, char );
		char*	GetShort( void );
		char	GetShort( int );
		void	SetShort( char* );
		void	SetShort( const char* );
		void	SetShort( int, char );
		char*	GetLong( void );
		char	GetLong( int );
		void	SetLong( char* );
		void	SetLong( const char* );
		void	SetLong( int, char );

		// Other methods...
		void	Display( std::ostream& );
		void	Display( std::string& );
		void	Save( std::ofstream& );
		void	Load( std::ifstream& );

};


#endif // #ifndef H_OBJECT
